package com.labichaoka.chaoka.ui.home.fragment.home;

import com.labichaoka.chaoka.entity.BaseResponse;
import com.labichaoka.chaoka.entity.CreditCardResponse;
import com.labichaoka.chaoka.entity.HomeInitResponse;
import com.labichaoka.chaoka.entity.VerifyInfoListResponse;

import java.util.Map;

/**
 * Created by ruan on 2018/7/24.
 */

public interface HomeFragmentInteractor {
    interface OnFinishedListener{
        void onSuccess(HomeInitResponse response);
        void onFailed();

        void onGetVerifyInfoListSucc(VerifyInfoListResponse response);
        void onGetVerifyInfoListFailed();

        void onClearAuthInfoSucc(BaseResponse response);
        void onClearAuthInfoFailed();

        void onResetUserStatusSucc(BaseResponse response);
        void onResetUserStatusFailed();

        void onCreditCardSucc(CreditCardResponse response);
        void onCreditCardFailed();
    }
    void homeInit(OnFinishedListener listener);
    void getVerifyInfoList(OnFinishedListener listener);
    void clearAuthInfo(OnFinishedListener listener);
    void resetUserStatus(OnFinishedListener listener);
    void creditCardSwitch(OnFinishedListener listener);
}
